package cn.wolfcode.p2p.business.domain;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

import cn.wolfcode.p2p.base.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;

/**
 * 平台银行信息
 * 
 * @author wolfcode
 *
 */
@Setter
@Getter
public class PlatformBankInfo extends BaseDomain {

	private String bankName;// 银行
	private String accountName;// 开户人
	private String accountNumber;// 账号
	private String bankForkname;// 支行名称

	public String getJsonString() {
		Map<String, Object> json = new HashMap<>();
		json.put("id", id);
		json.put("bankName", bankName);
		json.put("accountName", accountName);
		json.put("accountNumber", accountNumber);
		json.put("bankForkname", bankForkname);

		return JSONObject.toJSONString(json);
	}
}
